package movee.spring.app.template.io.wall;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 *
 * @author movee
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WallCaseRequest {

    private Integer page;
    private Integer size;
    private String startTime;
    private String endTime;

    public static WallCaseRequest of(Integer size, String startTime, String endTime) {

        WallCaseRequest r = new WallCaseRequest();
        r.setPage(1);
        r.setSize(size);
        r.setStartTime(startTime);
        r.setEndTime(endTime);

        return r;
    }

}

